package com.jielin.handling.service.caseassociation.impl;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageHelper;
import com.jielin.handling.entity.tsuspect.TSuspec;
import com.jielin.handling.entity.vo.CaseasSociationVo;
import com.jielin.handling.mapper.tsuspect.TSuspecMapper;
import com.jielin.handling.service.caseassociation.AVCorrelationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wangjienice on 2019-04-03.
 */
@Service
@Slf4j
public class AVCorrelationServiceImpl implements AVCorrelationService{
    @Autowired
    TSuspecMapper tSuspecMapper;


    @Override
    public List<CaseasSociationVo> aVRelation( String policeId) {
        log.info("policeId:{}",JSONObject.toJSONString(policeId));
        return tSuspecMapper.aVRelation(policeId);
    }
}
